package hjw.com.entity.mark;

import hjw.com.entity.Clz;
import hjw.com.entity.Course;

import java.util.Date;

public class MarkInfo {
    private int id;
    private String clzno;
    private String sno;
    private String sname;
    private Course course;
    private double score;
    private Date tpost;

    public MarkInfo() {
        course = new Course();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClzno() {
        return clzno;
    }

    public void setClzno(String clzno) {
        this.clzno = clzno;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Date getTpost() {
        return tpost;
    }

    public void setTpost(Date tpost) {
        this.tpost = tpost;
    }

    @Override
    public String toString() {
        return "MarkInfo{" +
                "id=" + id +
                ", clzno='" + clzno + '\'' +
                ", sno='" + sno + '\'' +
                ", sname='" + sname + '\'' +
                ", course=" + course +
                ", score=" + score +
                ", tpost=" + tpost +
                '}';
    }
}
